package org.soft.xinyu.equipmentmanagement.service.user;

import org.soft.xinyu.equipmentmanagement.entity.User;
import org.soft.xinyu.equipmentmanagement.entity.dto.LoginDto;
import org.soft.xinyu.equipmentmanagement.entity.dto.RegisterDto;
import org.soft.xinyu.equipmentmanagement.result.Result;

/**
 * @author xinyu
 */
public interface UserService {

    Result userLogin(LoginDto user);

    Result userRegister(RegisterDto registerDto);

    void userLogout();
}
